//- Copyright (C) 2023 Beijing Huaxia Chunsong Technology Co., Ltd. 
//- <https://www.chatopera.com>, Licensed under the Chunsong Public 
//- License, Version 1.0  (the "License"), https://docs.cskefu.com/licenses/v1.html
//- Unless required by applicable law or agreed to in writing, software
//- distributed under the License is distributed on an "AS IS" BASIS,
//- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//- See the License for the specific language governing permissions and
//- limitations under the License.
//- Copyright (C) 2018-Jun. 2023 Chatopera Inc, <https://www.chatopera.com>
//- Licensed under the Apache License, Version 2.0
//- http://www.apache.org/licenses/LICENSE-2.0
if contacts
    ul.info-list
        li.ukefu-channel-tip
            | 姓名：
            span.tgreen #{contacts.name}
        li
            | 性别：
            if contacts.gender && contacts.gender == '1'
                | 男
            if contacts.gender && contacts.gender == '0'
                | 女
            if contacts.gender && contacts.gender == '-1'
                | 未知
        li 生日：#{contacts.cusbirthday}
        li 电话：#{contacts.phone}
        li 手机：#{contacts.mobile}
        li 邮件：#{contacts.email}
        li 地址：#{contacts.address}
        li 类型：#{uKeFuDic[contacts.ckind].name}
        if contacts && contacts.touchtime
            li 获得时间：#{pugHelper.formatDate('yyyy-MM-dd HH:mm:ss', contacts.touchtime)}
        li 备注：#{contacts.memo}
